package com.lqq.demo9;

public class Test {
    public static void main(String[] args) {
        Cat c = new Cat();
        c.print();
        System.out.println();

        Cat c1 = new Cat("小白","白色",6,10.2,'公');
        c1.print();
        System.out.println();

        Dog d = new Dog();
        d.print();
    }
}
